package com.edu.whty.service;


import com.edu.whty.entity.base.Pagination;
import com.edu.whty.entity.school.RepoCatalogResource;

import java.util.List;
import java.util.Map;

public interface RepoCatalogResourceService {

	List<RepoCatalogResource> getResByCatalogIdInPage(RepoCatalogResource catalogResParam, Pagination pagination);

	Map<String, Object> getConfigSpecialRepoCountInfo(RepoCatalogResource param);

	List<Map<String, Object>> countFourRepoResNum(Map<String, Object> param);

	void insert(RepoCatalogResource record);

	/**
	 * @Author Arthurrr 2019年6月2日
	 * @Des: 根据条件查询数目
	 */
	Integer countByCondition(Map<String, Object> map);

	List<RepoCatalogResource> selectAllResourceUnderRepoByPagination(RepoCatalogResource param, Pagination pagination);

	void logicDeleteResRelationId(String relationId);

}